import { Component,OnInit } from '@angular/core';
import { registerLocaleData } from '@angular/common';
import zh from '@angular/common/locales/zh';
registerLocaleData(zh);

@Component({
  selector: 'app-root',
  template: `
  <nav-root></nav-root>
  <div id="content">
    <router-outlet></router-outlet>
  </div>
`
  /* templateUrl: './home/home.component.html',
  styleUrls: ['./home/home.component.css'] */
})
/* export class AppComponent {
  title = 'app';
} */
export class AppComponent implements OnInit{

  constructor(

  ) { }

  ngOnInit() {

  }

}
